package com.life.goal.infrastructure.goal.converter;

import com.life.goal.domain.entity.User;
import com.life.goal.infrastructure.goal.po.UserPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserConverter {

    UserConverter INSTANCE = Mappers.getMapper(UserConverter.class);

    UserPO toUserPO(User user);

    User toUser(UserPO user);

}
